package com.example.shopdemo.repository;

import com.example.shopdemo.entity.PersonInfo;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-02-04
 **/
public interface PersonInfoRepository extends JpaRepository<PersonInfo,Long> {

    public PersonInfo findByUserId(Long userId);
}
